package com.erp.erp_entitys.RoleGroup;


import java.io.Serializable;
import java.util.List;

/**
 * @ClassName RoleGroup2Entity
 * @Description 自定义角色组
 * @Author songjizhen
 * @Date 2020-07-11 11:17
 * @Version 1.0
 */
 public class RoleGroup2Entity implements Serializable {
    /**
     * 角色组编码
     */
     private String code;
    /**
     * 角色组名称
     */
     private String name;
    /**
     * 角色组描述
     */
     private String desc;
    /**
     * 角色组ID
     */
     private Integer id;
    /**
     * 角色组下包含的角色
     */
     private List<RoleGroup2Entity> roles;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public List<RoleGroup2Entity> getRoles() {
        return roles;
    }

    public void setRoles(List<RoleGroup2Entity> roles) {
        this.roles = roles;
    }
}
